class DownloadsController < ApplicationController
	def index
		@downloads = Download.paginate(:per_page => 10, :page => params[:page], :order => "created_at DESC")
	end

	def show 
		@download = Download.find_by_id(params[:id])
	end
end
